package com.h2wallet.newsapi.modular.news.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

@Data
public class Article {

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("正文")
    private String content;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("创建时间")
    private Long createTime;

    @ApiModelProperty("点击量")
    private Integer hits;

    @ApiModelProperty("文章分类名")
    private String typeName;

    @ApiModelProperty("分类ID")
    private Integer typeId;

    @ApiModelProperty("来源")
    private String spiderSource;
}
